<#include "../inc/header.ftl" />
<#import "/META-INF/spring.ftl" as spring />
<#import "/META-INF/mspring.ftl" as mspring />
<div class="message notice" style="margin:10px;">提示：不修改密码时，请留空密码框</div>
<form id="userForm" name="userForm" action="${base}/admin/user/doEditUserInfo" method="POST">
	<@spring.bind "user" />
	<@mspring.show_errors />
	<@spring.formHiddenInput path="user.lOGIN_NAME" />
	<@spring.formHiddenInput path="user.rEAL_NAME" />
	<@spring.formHiddenInput path="user.cREATE_TIME" />
	<table class="formtable" style="width:100%;">
		<tr>
			<td class="fieldlabel" style="width:60px;">用户名</td>
			<td>
				<@spring.formInput path="user.lOGIN_NAME" attributes='class="textinput" style="width:98%;" disabled="disabled"' />
			</td>
		</tr>
		<tr>
			<td class="fieldlabel" style="width:60px;">昵称</td>
			<td>
				<@spring.formInput path="user.rEAL_NAME" attributes='class="textinput" style="width:98%;"' />
			</td>
		</tr>
		<tr>
			<td class="fieldlabel">E-mail</td>
			<td>
				<@spring.formInput path="user.eMAIL" attributes='class="textinput" style="width:98%;"' />
			</td>
		</tr>
		<tr>
			<td class="fieldlabel">密码</td>
			<td>
				<@spring.formPasswordInput path="user.pASSWORD" attributes='class="textinput" style="width:98%;"' />
			</td>
		</tr>
		<#--
		<tr>
			<td class="fieldlabel">确认密码</td>
			<td>
				<@spring.formPasswordInput path="user.pASSWORD" attributes='class="textinput" style="width:98%;"' />
			</td>
		</tr>
		-->
		<tr>
			<td colspan="4" style="text-align:center;">
				<input type="submit" class="btn" value=" 提交 " />
			</td>
		</tr>
	</table>
</form>
<script type="text/javascript">
	$(document).ready(function(){
		//斑马线
		var tables=document.getElementsByTagName("table");
		var b=false;
		for (var j = 0; j < tables.length; j++){
			var cells = tables[j].getElementsByTagName("tr");
			//cells[0].className="color3";
			b=false;
			for (var i = 0; i < cells.length; i++){
				if(b){
					cells[i].className="color2";
					b=false;
				}
				else{
					cells[i].className="color3";
					b=true;
				};
			};
		}
	});
</script>
<#include "../inc/footer.ftl" />